﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PathManager.cs" company="GT">
//   Gunther Taborga
// </copyright>
// <summary>
//   Defines the PathManager type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace BatchID3.FileSystem.Path
{
    public class PathManager : IPathManager
    {
        public char DirectorySeparatorChar
        {
            get
            {
                return System.IO.Path.DirectorySeparatorChar;
            }
        }

        public string Combine(params string[] paths)
        {
            return System.IO.Path.Combine(paths);
        }

        public string GetDirectoryName(string path)
        {
            return System.IO.Path.GetDirectoryName(path);
        }

        public string GetFileName(string path)
        {
            return System.IO.Path.GetFileName(path);
        }

        public char[] GetInvalidFileNameChars()
        {
            return System.IO.Path.GetInvalidFileNameChars();
        }

        public char[] GetInvalidPathChars()
        {
            return System.IO.Path.GetInvalidPathChars();
        }
    }
}